.tooltip {
    position: absolute;

    display: flex;
    // padding: 12px;
    align-items: center;
    gap: 8px;
    height: 52px;

    border-radius: 8px;
    border: 1px solid var(--Colors-Use-Neutral-Border);
    background: var(--Colors-Use-Basic-Background);

    /* 投影-大 */
    box-shadow: 0px 6px 20px 0px var(--Colors-Use-Basic-Shadow);

    svg {
        width: 20px;
        height: 20px;
        color: var(--Colors-Use-Neutral-Text-1-Title);
    }
    .tooltip-t-wrapper {
        padding: 12px 0 12px 12px;
    }
    .tooltip-light-wrapper {
        padding: 12px 0;
    }
    .tooltip-t {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px;
        cursor: pointer;
        border-radius: 4px;
        height: 28px;
        &:hover {
            background-color: var(--Colors-Use-Neutral-Bg);
        }

        .t-icon {
            svg {
                width: 14px;
                height: 14px;
            }
        }
    }

    .tooltip-tool {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        border-radius: 0 4px 4px 0;
        height: 28px;
        margin: 12px;
        margin-left: 0;
    }
}
.tooltip[data-show="false"] {
    display: none;
}
.tooltip-divider {
    width: 1px;
    height: 28px;
    background-color: var(--Colors-Use-Neutral-Border);
}
.tooltip-divider-horizontal {
    width: 100%;
    height: 1px;
    margin: 8px 0px;
    background-color: var(--Colors-Use-Neutral-Border);
}
.tooltip-popover {
    padding-top: 0;
    :global {
        .ant-popover-arrow {
            display: none;
        }
        .ant-popover-inner {
            /* 投影-大 */
            box-shadow: 0px 6px 20px 0px var(--Colors-Use-Basic-Shadow);
            border: 1px solid var(--Colors-Use-Neutral-Border);
            border-radius: 8px;
        }
    }
    .tooltip-popover-content {
        display: flex;
        width: 160;
        flex-direction: column;
        align-items: flex-start;
        .tooltip-list-item {
            display: flex;
            padding: 6px 8px;
            align-items: center;
            gap: 12px;
            color: var(--Colors-Use-Neutral-Text-1-Title);
            font-weight: 400;
            font-size: 14px;
            border-radius: 4px;
            width: 100%;
            cursor: pointer;
            &:hover {
                background-color: var(--Colors-Use-Neutral-Bg);
            }
            .icon {
                width: 20px;
                height: 20px;
                svg {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }
    .tooltip-light-popover-content {
        display: flex;
        align-items: center;
        gap: 8px;
        .tooltip-type-item {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        .item-remove {
            background-color: #fff;
            background: linear-gradient(45deg, transparent 48.5%, #f00 56.5%, #f00 36.5%, transparent 51.5%);
            border: 1px solid var(--Colors-Use-Neutral-Border);
        }
        .item-note {
            background-color: var(--Colors-Use-Neutral-Border);
        }

        .item-success {
            background-color: var(--Colors-Use-Success-Primary);
        }
        .item-danger {
            background-color: var(--Colors-Use-Error-Primary);
        }
        .item-warning {
            background-color: var(--Colors-Use-Warning-Primary);
        }
    }
}


.tooltip-icon {
    display: flex;
    padding: 4px;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    height: 28px;
    width: 28px;
    cursor: pointer;
    svg {
        width: 20px;
        height: 20px;
        color: var(--Colors-Use-Neutral-Text-1-Title);
    }
    &:hover {
        background-color: var(--Colors-Use-Neutral-Bg);
    }
}